package com.seata.logic.visualize.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 蚂蚁会花呗
 * @date 2021/5/21 15:47
 * 公共实体类，需要创建时间，更新时间，和状态的实体类集成该类
 */
public class BaseModel implements Serializable {


    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 是否有效 0 否 1是
     */
    private Boolean status;

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
}
